package com.riku.security.service;

import com.riku.security.model.SeRoleUser;
import com.riku.security.model.SeUser;

import java.util.List;

/**
 * Created by 1 on 2021/5/15.
 */
public interface SeUserService {

    List<SeRoleUser> selectByName(String serviceCode,String userName);

    List<SeRoleUser> selectUserDetail(String serviceCode,String userId);

    void deleteUser(String serviceCode,String userId);

    void insertUser(String serviceCode,String userId,String userName,List<Long> roleIds);

    void updateUser(String serviceCode,String userId,String userName,List<Long> roleIds);

    void deleteRoleUser(Long id);
}
